package com.mall.service.region;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mall.client.region.ProvinceService;
import com.mall.custom.dao.read.ProvinceReadMapper;
import com.mall.pojo.Province;

@Service
public class ProvinceServiceImpl implements ProvinceService {
	@Autowired
	private ProvinceReadMapper provinceReadMapper;
	
	
	public Province getProvinceById(Integer provinceId){
		
		return this.provinceReadMapper.selectByPrimaryKey(provinceId);
	}
}
